<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <!-- Tell the browser to be responsive to screen width -->
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="description" content="">
    <meta name="author" content="">
    <!-- Favicon icon -->
    <link rel="icon" type="image/png" sizes="16x16" href="images/favicon.png">
    <title>RKCMS - 蓝科信息管理系统</title>
    <!-- Bootstrap Core CSS -->
    <link href="theme/css/lib/bootstrap/bootstrap.min.css" rel="stylesheet">
    <!-- Custom CSS -->
    <link href="theme/css/helper.css" rel="stylesheet">
    <link href="theme/css/style.css" rel="stylesheet">
    <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
    <!-- WARNING: Respond.js doesn't work if you view the page via file:** -->
    <!--[if lt IE 9]>
    <script src="theme/js/html5shiv.js"></script>
    <script src="theme/js/respond.min.js"></script>
    <![endif]-->
</head>

<body class="fix-header fix-sidebar">
<!-- Preloader - style you can find in spinners.css -->
<div class="preloader">
    <svg class="circular" viewBox="25 25 50 50">
        <circle class="path" cx="50" cy="50" r="20" fill="none" stroke-width="2" stroke-miterlimit="10" /> </svg>
</div>
<!-- Main wrapper  -->
<div id="main-wrapper">

    <div class="unix-login">
        <div class="container-fluid">
            <div class="row justify-content-center">
                <div class="col-lg-4">
                    <div class="login-content card">
                        <div class="login-form">
                            <h4>RKCMS - 蓝科信息管理系统</h4>
                            <form method="post" action="index.php?r=site/login" >
                                <div class="form-group">
                                    <label>用户名</label>
                                    <input type="text" name="username" class="form-control" placeholder="用户名">
                                </div>
                                <div class="form-group">
                                    <label>密&nbsp;&nbsp;码</label>
                                    <input type="password" name="password" class="form-control" placeholder="密&nbsp;&nbsp;码">
                                </div>
                                <?php
                                if($message!=null){
                                    ?>
                                    <div class="alert alert-danger">
                                        <?php echo $message['message']; ?>
                                    </div>
                                    <?php
                                }
                                ?>
                                <button type="submit" class="btn btn-primary btn-flat m-b-30 m-t-30">登&nbsp;&nbsp;入</button>
                            </form>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>

</div>
<!-- End Wrapper -->
<!-- All Jquery -->
<script src="theme/js/lib/jquery/jquery.min.js"></script>
<!-- Bootstrap tether Core JavaScript -->
<script src="theme/js/lib/bootstrap/js/popper.min.js"></script>
<script src="theme/js/lib/bootstrap/js/bootstrap.min.js"></script>
<!-- slimscrollbar scrollbar JavaScript -->
<script src="theme/js/jquery.slimscroll.js"></script>
<!--Menu sidebar -->
<script src="theme/js/sidebarmenu.js"></script>
<!--stickey kit -->
<script src="theme/js/lib/sticky-kit-master/dist/sticky-kit.min.js"></script>
<!--Custom JavaScript -->
<script src="theme/js/scripts.js"></script>

</body>

</html>